package by.bsu.rfe.belianko.euniversity.dao;

import java.util.List;

import by.bsu.rfe.belianko.euniversity.exceptions.DaoTechnicalException;
import by.bsu.rfe.belianko.euniversity.model.Student;

/**
 * The IStudentsDAO interface.
 * 
 * @author Vitali_Belianko
 * 
 */
public interface IStudentsDAO {

	public String saveStudent(Student student) throws DaoTechnicalException;

	public Student getStudentByLogin(String login) throws DaoTechnicalException;

	public void enrollInFaculty(long facultyId, long id, int totalScore) throws DaoTechnicalException;

	public List<Student> getNotApprovedStudents() throws DaoTechnicalException;

	public void approveStudents(long[] idArray) throws DaoTechnicalException;

	public void acceptStudents(long facultyId, int plan) throws DaoTechnicalException;

	public List<Student> getAcceptedStudents() throws DaoTechnicalException;

	public String checkForPower(String login, String password) throws DaoTechnicalException;

}
